Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

Initializing the QuickTime VR Manager

In a Windows environment, before your application can call any QuickTime VR Manager routines, you have to call InitializeQTVR so that QuickTime VR can set up its internal data structures. If you make any other calls to the QuickTime VR Manager before calling InitializeQTVR , those calls return either a numerical value of zero or an error code of -30555 ( qtvrUninitialized ), which indicates that QuickTime VR has not been initialized. Similarly, functions with Boolean return types return false and functions with OSType return types return '????' .

When your application or process has finished using QuickTime VR, it should call TerminateQTVR .

You can call InitializeQTVR and TerminateQTVR more than once; they are reference-counted and nestable.

The InitializeQTVR and TerminateQTVR routines are required for QuickTime VR to run in a Windows environment. They neither compile nor link in the Mac OS environment.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |